<ion-header>
    <ion-toolbar content-page>
        <ion-buttons start>
            <button ion-button icon-only navPop>
                <i class="toolbar-back"></i>
            </button>
        </ion-buttons>
        <ion-title>
            增员活动
        </ion-title>
        <ion-buttons end>
            <button ion-button icon-only adpmenutoggle>
                <i class="toolbar-menu"></i>
            </button>
        </ion-buttons>
    </ion-toolbar>
</ion-header>
<ion-content>
    <div class="fixed-bar" ion-fixed>
        <div class="roster-num" >
            <div class="select-warp" (click)="openSelect()">
                <span [ngClass]="groupName=='请选择'?'chooseGroup':''">
                    {{groupName}}
                </span>
                <i></i>
            </div>
        </div>
        <div class="filter-btn" (click)="toFilterPage()">
            <i class="filter"></i>筛选
        </div>
    </div>
    <div class="title-bar-webchat row" ion-fixed>
        <div class="col">活动</div>
        <div class="col">已参与</div>
        <div class="col">未参与</div>
        <div class="col">增员名单</div>
    </div>
    <ion-refresher (ionRefresh)="doRefresh($event)" [pullMax]="800">
        <ion-refresher-content></ion-refresher-content>
    </ion-refresher>
    <div class="card-list" >
        <div *ngIf="addStaffActivityList.length === 0" class="no-data">
            <div class="no-data-img"><img src="./assets/images/common/icon_nodata.png"></div>
            <div class="no-data-txt">没有相关数据</div>
        </div>
        <div class="card row"
             *ngFor="let item of addStaffActivityList;  index as innerIndex">
            <div class="col card-bd" (click)="goAddStaffActivityDetail(item)">
                <div class="row">
                    <div class="col name" [ngClass]="item.isShowDetail==false?'':'selected-row-color'" [innerHTML]="item.shortName"></div>
                    <div class="col hasActive" [innerHTML]="item.join"></div>
                    <div class="col noActive" [innerHTML]="item.notJoin"></div>
                    <div class="col allNums" [innerHTML]="item.preIcreaseNum"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="bottom-warp"></div>
    <ion-fab bottom right class="go-up">
        <button ion-fab (click)="goUp()" color="light">
            <img class="go-up-icon" src="./assets/images/client/client-list/icon_top.png" alt="">
        </button>
    </ion-fab>
</ion-content>
<ion-footer>
    <div class="title-bar-webchat-total row">
        <div class="col">合计</div>
        <div class="col" [innerHTML]="addStaffTotal.join"></div>
        <div class="col" [innerHTML]="addStaffTotal.notJoin"></div>
        <div class="col" [innerHTML]="addStaffTotal.preIcreaseNum"></div>
    </div>
</ion-footer>
